var MyModel = {

    init:function(){
        this.code = $("#input-code");
        this.name = $("#input-name");
        this.enName = $("#input-en-name");
        this.education = $("#input-education");
        this.description = $("#input-description");
        $('#myModal').on('show.bs.modal', function (e) {
            var clickBox = $(e.relatedTarget);
            var out = $(clickBox.attr("wrap"));
            var boxs = out.find(".box").children("div");
            MyModel.code.val(boxs.eq(0).text());
            MyModel.name.val(boxs.eq(1).text());
            MyModel.enName.val(boxs.eq(2).text());
            MyModel.education.val(boxs.eq(3).text());
            MyModel.description.val(out.find(".panel-body").text());
            console.log();

            var items = [];
            items.push("");
            items.for

        })
    }

};